In-Line Interrupt Handling for Software-Managed TLBs
نویسندگان
چکیده
The general-purpose precise interrupt mechanism, which has long been used to handle exceptional conditions that occur infrequently, is now being used increasingly often to handle conditions that are neither exceptional nor infrequent. One example is the use of interrupts to perform memory management-e.g., to handle translation lookaside buffer (TLB) misses in today’s microprocessors. Because the frequency of TLB misses tends to increase with memory footprint, there is pressure on the precise interrupt mechanism to become more lightweight. When modem out-of order processors handle interrupts precisely, they typically begin by flushing the pipeline. Doing so makes the CPU available to execute handler instructions, but it wastes potentially hundreds of cycles of execution time. However; if the handler code is small, it could potentially j t in the reorder buffer along with the user-level code already there. This essentially in-lines the interrupt-handler code. One good example of where this would be both possible and useful is in the TLB-miss handler in a software-managed TLB implementation. The benejts of doing so are two-fold: ( 1 ) the instructions that would otherwise be flushed from the pipe need not be re-fetched and re-executed; and ( 2 ) any instructions that are independent of the exceptional instruction can continue to execute in parallel with the handler code. In effect, doing so provides us with lockup-free TLBs. We simulate a lockup-free data-TLB facility on a processor model with a 4-way out-of-order core reminiscent of the Alpha 21264. We find that, by using lockup-jree TLBs, one can get the performance of a fully associative TLB with a lockup-free TLB of one-fourth the size.
منابع مشابه
IN-LINE INTERRUPT HANDLING AND LOCK-UP FREE TLBs
Title of Thesis: In-line Interrupt Handling and Lockup Free TLBs Degree Candidate: Aamer Jaleel Degree and Year: Master of Science, 2002 Thesis directed by: Dr. Bruce L. Jacob Department of Electrical and Computer Engineering The effects of the general-purpose precise interrupt mechanisms in use for the past few decades have received very little attention. When modern out-of-order processors ha...
متن کاملImproving the Precise Interrupt Mechanism of Software-Managed TLB Miss Handlers
The effects of the general-purpose precise interrupt mechanisms in use for the past few decades have received very little attention. When modern out-of-order processors handle interrupts precisely, they typically begin by flushing the pipeline to make the CPU available to execute handler instructions. In doing so, the CPU ends up flushing many instructions that have been brought in to the reord...
متن کاملSoftware - Managed Address Translation Bruce
In this paper we explore software-managed address translation. The purpose of the study is to specify the memory management design for a high clock-rate PowerPC implementation in which a simple design is a prerequisite for a fast clock and a short design cycle. We show that software-managed address translation is just as efficient as hardware managed address translation, and it is much more fle...
متن کاملAssociativity Revisited -a Study of Set, Column, and Skewed Associative Tlbs Using Spec95
This paper describes the application of two small-set cache polices to hardware and software managed TLBs. The column-and 2-way skewed-associative policies as applied to TLBs are introduced which disperse cache accesses to avoid connict misses in an eeort to maximise the lifetime of useful entries. Long length trace driven simulation using all 18 SPEC95 benchmarks has shown that while both poli...
متن کاملLow Overhead Interrupt Handling with SMT Threads
[4] introduces the Click modular router. Click is a software based router that is composed of flexible software modules. Click is designed to run on commodity hardware and in commodity operating systems. Click provides a motivation for our interrupt handling work as Click typifies the overhead problems with traditional OS interrupts. Click removes the interrupt handling completely, opting inste...
متن کامل